<template>
    <div id="home">
        <nav-bar class="home_nav">
            <template v-slot:left>
                <span>首页 </span>
            </template>
            <template v-slot:center>
                <span>详情</span>
            </template>
            <template v-slot:right>
                <span>后退</span>
            </template>
        </nav-bar>
    </div>
</template>



<script>

import NavBar from '../components/NavBar'
    export default {
        name:'Home',
        components:{
            NavBar,
        },
        methods:{

        }
    }
</script>

<style scoped>
.home_nav{
    background-color: royalblue;
    color: white;
}
</style>